{include file="$labeltempl" /}
<div class="col-md-{$size[1]} checkbox-div">
    <input type="hidden" name="{$name}" id="{$id}" {$attr|raw}>
    <label class="lyear-switch {$class}">
        <input type="checkbox" data-on="{$pair[0]}" data-off="{$pair[1]}" class="switch-box" id="{$id}-box" {if condition="$checked" }checked{/if} {$attr|raw}>
        <span></span>
    </label>
    {include file="$helptempl" /}
</div>